Add save run histor funcy
implement testcase update