Update for new mongo java client