update image url to post