Updating an image file