update isDone api example