modify aipp demo