update image manipulation