If the computer is an asset, there's a Set Location for Asset component in the generated Resource library. You'll need to know the GUID of the computer asset to update.
You could also do this manually via a generated SQL component, assuming you have access to the CMDB database.