define format function
update label
build