Add index on mongo documents