modify copy resource