update the api.js for the new table name