add support for refresh