update method and edit image view