update brush panel
update cursor