update the whole plot script of phase1 2 3