Adds change event to objects