updates static resourceprovider with better logging.