Fix context local storage not working.

I accidentally used Data.IntMap.update and not Data.IntMap.alter.