updating wikipedia code