add new test case for update