adding subroots to api