updating plan file