note add route and control edit