added presave hook for update post
added exception handling in update handler
Merge pull request #184 from Somesh/master

pre save for update create