Trigger change event when element is updated