I'd keep the lines: 

```javascript
MessageManager.currentNum = num;
this.updateHeaderData();
```