add more unique name constraints and autocompletes on resource facet table