added better update test coverage