update resource and add so library