update for html view