Changed the callback for onchange to fit our team's needs