uudate ANativeWindow's diagram