added refresh command.