refactor seed task