update layout for category and tag page