update with new class