updating plan