Implement #update using delete followed by insert