Added the onChange callback