change upload method