Updated graph in trigger mode and break with a same function