update building scripts