changed updateHeader to check for the existance of the user label