update image filepath