change logic upload data