update for CAS 4.0.0 compatibility