Add some api , edit db structure