update image posts path