Update existing pivot records on sync if they exist. Closes #1534.