Add refresh functionality.