Revert PR #13. Preventing updates to the document to empty values.
Merge branch 'master' of github.com:limianwang/osmos