Added "old_value" attribute to on_change event