Models class edit