modify onChange and autoUpdate order