update and delete support for card