fixed bug where when you cliked on card, it pulled up other card info.
optimized code. cards can now be updated