forgot to update Api class