update method for ch 5