Implemented batched local and remote updates and deletes.