Adding uploadDataURI and upoadBlob functionality