restyle the views definition