Updates gate categories and exceptions.