Update the jpeg to imagemagick because it works better on the server