reintroduced the update waypoint functionality - partially working