Update categories and kernel