update tag and category layout