How to store list into data bases