fix something ,update sql