updating main image