changed the flat create update delete to nested routes