Committing before trying another solution for updateFlag