fix test for update