fix uploads

fix upload url
other changes too