edit class view