update card resource