redo editcard styles