Update some of the Coq code