add update test
simplify tests