Update routes for json