INT-3164: change the refresh mutation logic