Upgrade or the same?

I have a Jandy FHPM 1.0 Pro Series single speed pump. The motors has become quite loud with a high pitch tone. I would like to convert it to variable speed. Is this possible or should I purchase the exact same model?