Fixing card updating issue