update routes in views