update client-side views and routes