added update test
added update test