fix for updating after validation error
Merge pull request #2 from klaffenboeck/master

fix for updating after validation error