Refactor Node#reset_properties to set_properties

Updates the given key/value pairs and removes those that are nil