Fix heading updating in toolbar plugin