added db; work on edit mode in card db FE