Fix onchange API reference