Modify resource