Adding a new class and updating an existing one