Adding map for mongodb