add set resource