update nopt args for --cookie