update with primary doc