update of img