title: AttributeError: 'FirefoxProfile' object has no attribute 'update' error usingFirefoxProfile through Selenium and Python
body: <p>Hello Guys I'm having problem on my code.</p>
  
  <pre><code>from selenium import webdriver
  import time
  
  profile = webdriver.FirefoxProfile()
  profile.set_preference('network.proxy_type',1)
  profile.set_preference('network.proxy.http',"91.xx.xxx.xx")
  profile.set_preference('network.proxy.http_port',xxxx)
  # profile.update_preference()  ---&gt; this code letter giving the error.
  driver = webdriver.Firefox(firefox_profile=profile)
  driver.get('http://whatismyipaddress.com')
  time.sleep(3)
  driver.close()
  </code></pre>
  
  <p>Here Is The Error I'm Getting:</p>
  
  <pre><code>AttributeError: 'FirefoxProfile' object has no attribute 'update'
  </code></pre>
  
  <p>I cant figure out the problem i just want to save the profile settings to use.</p>