title: Last name update using pyad
body: <p>Am trying to create users in active directory using pyad and it is successful. when i try to udpate last name of user, it is throwing "attribute error". I checked with attributes in AD and it is same what am using in program.</p>
  
  <p><strong>The code:</strong></p>
  
  <pre><code>import pyad
  from pyad import *
  pyad.set_defaults(ldap_server="xxx.com", username="xxx\test", password="xxx@123")
  ou = pyad.adcontainer.ADContainer.from_dn("OU=TestOU,DC=xxx,DC=com")
  new_user = pyad.aduser.ADUser.create("Python", ou, password="abc@123")
  print("User Created Successfully")
  user = pyad.aduser.ADUser.from_cn("Python")
  user.update_attribute("givenName", "PYTHON")
  user.update_attribute("displayName","PYTHON-NEW")
  user.update_attribute("mail","python@python.org")
  user.update_attribute("st","XXX")
  user.update_attribute("initials","py")
  **user.udpate_attribute("sn","p")**
  user.update_attribute("telephonenumber","9176665636")
  user.force_pwd_change_on_login()
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>File "C:/Users/sheikkalidhr/Desktop/aduser.py", line 14, in &lt;module&gt;
      user.udpate_attribute("sn","p")
    File "D:\backup\New folder\lib\site-packages\pyad\adobject.py", line 202, in __getattr__
      raise AttributeError(attribute)
  AttributeError: udpate_attribute
  </code></pre>