build seorel before save