label updates after button is pressed