update plan status