update some sql