add onChange event