update UIDs system for some classes