updating with plan