update routing class and and security class