add update script for sql