rename onchanged method