update the min version of the code
update the demo to use min version