David Beckham has extended his advertising contract with Pepsi.