Updated flag module to latest version