Updated header to fetch data dynamically