fixing update test bug