fixed show error and card update is working #23