add route and upgrade rdb
add template{smarty}