update image permalink