convert images from png to jpg and optimize
update rails version to 4.0.4