update sql query in the project.mml