Fixes bug where updates would never update, only add a new item.