Update routes to json end-point