refactory uploader post service