updates for changes in doctrine mongodb