update views with extra classes to identify states and field - git fix #44