Added new upload method