edit api-server base on sequlizejs