update resource reader