Update db for auth