Consistent after save and updateAttributes

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