Change refreshApiConfiguration return