add new test case for updateAll method