added a log to refresh command