update set main image callback