Refactoring Upload Data Process.