modify doc for sql