add indexing for mongodb