update payment class