updating json view