Fix the issue of replacing existing properties when adding a new property in edit mode