update a pic