update resource handler
Update