Update planner.py