change update method.