add heading update block

update demo project too.