update
new router and added auto potocol handling