forUpdate and forShare in sync.js