fix auth function for org_update