update UI for vim