update onFocus, onSelect method