added updating of CAPs to keystone model