AliYilmaz says:
<
button
type
=
"button"
class
=
"btn btn-success"
>Güncelle</
button
>
You are using HTML button with type = "button" to submit form.
While type="button" controls do not submit the form automatically, type="submit" does that.
So you can trigger the submission with JavaScript.
<button type="button" class="btn btn-success" onclick="this.form.submit();">Güncelle</button>
Or use button type="submit".
<button type="submit" class="btn btn-success">Güncelle</button>