added update resource