update for 3.x