Feature #2746: Fix flow template update