Create a new dict before updating data. Fixes #53