Updating cache management.

Delete's added to the current row state.
Starting to implement LocalState