Update image from jpg to png