Update CAS library to latest version