Update code to call all register method through one controller