Added upload method