modified update test