write confliction detection with preference