update basic demo