more updates for sql