refactored updateClass to delete before it looks through the new keys
refactored updateClass to delete before it looks through the new keys

tbossert/applicable-poisoned-integer,tbossert/applicable-poisoned-integer,tbossert/applicable-poisoned-integer,tbossert/applicable-poisoned-integer