update routes and parameter handling on front-end