correct some paths in update script