update hero and main image file to jpeg