updating Card usage to latest sdk