update demo, support acodec