Map values are changed in a similar way as lists. In fact, you use the same two methods: set() and update().