PHP Array POST UPDATE only affects the last row

I’m trying to UPDATE multiple rows of my DB, but it UPDATE only the last row. I got all DATA from database and fill the SELECT OPTION MULTIPLE: