update image in post