update whole