updated route builder