rename setRelatedFields to setRelatedAttributes