updated hook to every 5 mins