update sigma library and catch stopbrush event