update ViewController