TOKYO - Japan and the United States agreed Sunday to upgrade the command functions of the U.S. forces in Japan for better coordination of their bilateral alliance amid China's assertiveness in the region and the North Korean nuclear threat, while pursuing expanded coproduction of air defense missiles.