changed uploads to work with byte arrays instead of strings