Update Auth code