[config] refactoring upload task