Added detection of Dirty properties on SaveOrUpdate method