update a picture