updating auth stuff