Changes the data for the item pointed to by iter to be data.
If the sequence has a data destroy function associated with it, that function is called on the existing data that iter
pointed to.
| data |
new data for the item |
| iter |