update resource label