update client-side router generation