Updated routes with wild card

wild card so ids are preserved when passing to URL