refactor mongoseed