Add more fields to api call, add upload function in SDK