classes can be updated realtime (not tested)