loosen upper bound
use newer MongoDB driver with findAndModify function