issue-14: Updatd with removal and deletion of properties and labels

You can omit optional braces of the if statement.