change webhook to a router