edit classes with Token model