Fixed the update method of DSLocalStorage adapter.