card updating code, one card updated, scripts for grid workflow