Changed upload from raw to base64