updates and testcase