Refreshing a page on backend data update in Next.js: a step-by-step guide