update frontend testcase