added ability to update route based on the current position