setup relations for database