add some apis
update database table and add api