updates to schedule routing algorithm