forUpdate and forShare in sync.js
Merge pull request #3 from SohumB/feature/forUpdate-and-forShare

forUpdate and forShare in sync.js