added update unit test