I would make it put the old data back into the boxes and “uncheck” your check box to disable the boxes.
Regarding your updating the data - the server function doesn’t update anything. It appears to just return a client view, which I don’t think is what you want.
You need to do something like this under the if statement :
current_user.update(first_name = new_first_name)
I’m guessing you were following the documentation example here for client writeable views :
What that did was return a search result to the client side, the parameter was the search term not a new value to save.