updated flag submission