How to update the Ruby application in the ACC

To avoid the vulnerability issue, I need to update the Ruby.exe in the Agent Client Collector (ACC) on windows server.
How to update the Ruby application in the ACC?

Agent Client Collector version 3.1.0.1

Ruby 2.7.0p0 (C:\Program Files\ServiceNow\agent-client-collector\embedded\ruby.exe)