update detail.html & category.html