Make writes occur in transactions