update.
update window menu and passable method.