Consistent after save

-  Ensure consistent behavior in ActiveRecord::afterSave() (fixes #4012)
- changed updateAttributes to be more simple update (fixes #3233)