load data in database (not tested)