Add/Delete from db with helper function
Use new update db function
Use new db structure
Use new db structure 2
fix stephen bugs, more db structure