Use correct mongo update API syntax