update some views and class