update OnPropertyChanged method