updates to api for nested relationships