Refresh Api object