update for newer mongo