Update subcompanies endpoints for recursivity