add support for refreshes