update styles in add, edit and list view