UNC looking up after pacing Duke