update contruct and testcase