update mechanism

fix bug