changed model relationships, api key