update ResourceStore to act similar to database service, more to come