need to pass newplanenabled also when editing an existing template