Feature/refactor

@sneal , @dvanbuskirk Refactored.
`update_required = payload_edited.any? { |k, v| !ns.key_value_exists?(resource_type, payload[resource_id.to_sym], k, v) }`