regenerate the controllers