updated upload method to work with newly token id