Debug and update features for ctools demo