submit state