updates for category and url templates