fixeds bugs and improve sql methods and publish the version 3.1.5