Fix deprecated message.

Fix deprecated message of mongodb.