Updates card css formatting