FIx errors: wrong table name, add forgotten urls to update. Rename API to Api.