update classes with pseudocode