CBoolean update

Convert CBoolean to latest method.