update route and route index of crud