implemented update test