change the way to update _oldProperties