updated category template