wrapper for mongo findandmodify