add update_label's frame work
complete update label function