updated an image