update resource size when add/update resource