updated main view controller