Event for when attr's get changed and saved to the database