saving of lists in db