refresh for unit testing