updating classes from payment layer