updateView: add check against nullptr