improve demo and doc