update window api