Added update card query