Add function

Add code to Support save data to DB