update version
clear selection on cancel