update upload dir to relative project dir