update chiara api for debugging