updated sdk and fixed upload