updates navigation view controller