update label while program running