load data from client and save to db