Update routes to support namespaces