update deck class