updated dynamic route