update resource config