add new classes and edit old one