Update card class