update window authorize