Modify database operations
 - add data save and data dalete functions
 - add auto insert time function on last line