updated to latest cape api