trying to refresh GUI