'Update resource properties data with live state properties.
Note, that live_properties can contains None values, so there\'s next
situation: property equals to some value, but live state has no such
property, i.e. property equals to None, so during update property
should be updated with None.'

def _update_properties_with_live_state(self, resource_properties, live_properties):

    for key in resource_properties:
        if (key in live_properties):
            if (resource_properties.get(key) != live_properties.get(key)):
                resource_properties.data.update({key: live_properties.get(key)})
