added a label and the updateView method