clear the set an _update method, and replace this with update and insert methods