update the ui of plan.html