clear existing routes in update