Add refresh hook