updating common views and json view