update 1 added json view for index & test