update sql and build file.