planner now updates objective in the database