create api table only if not exists in update process