Change url of resouces and uploads