Record update with dynamic inputs

Options
I'm trying to make a partial update of my user record with only what is sent by the frontend. I know the PATCH method has something to do with that but I'm not able to implement it. The workaround solution I implemented is not clean, lot of conditions etc... Please help on this.
Thanks!

Comments