update a image