Updated upload method api