Fixed incorrect doc updating on save()
Merge pull request #12 from SoftwareMarbles/fix-doc-updating-on-save

Fixed incorrect doc updating on save()