updating the plan