update image plugin