add addEntry function to ResourceTableAccessor