update docs about router and template