Fix error in update data of test