ticket:2 tests for sql update