update resource limit