updating card models