updated api calls
Updated db files