change @resource