class edit