Adding a refresh mechanism to the interface.