Updating image file