Implement consistency levels for update and insert