fix for updating after validation error

fixes issue #1