updating nav and styles