Change out motor

I acquired a 6HP motor in great condition to replace my 4HP motor. My question is, how hard is it to change out the motor. I already have the updated charger and REV II controller.