update image for post