update for mode1