edit class UI