Updating a value in a module doesn't update?

I have a module which contains the datastore key. I have another module which sets the key in the data module, but it doesn’t update. Why won’t it update?

local config = require(conf)
data.Key = config["DataStoreKey"]

In data module:

local data = {Key = ""}

It just prints an empty string.

make sure config.DataStoreKey actually is a string: print(config.DataStoreKey)

Inside of the data modue make sure you are exporting data: return data

I have made sure it’s a string, and it is returning.

Are you trying to see the change on both the client and the server?
If you are just trying to see it on the server, then idk… you’ll have to show more code than what you have