added fields and relations in models