update result and viewPlanAction