Is there a way for creating a mutable dictionary or other collection in a smart contract what can be updated in every transaction?

I want to store and change data in the smart contract and I don’t know is there any option to do that.