php - How to update a particular row using id in redbean

I have database with table "users"

+------+

I wanna update the username where id = 24

{-code-2}

Answer

----+

Answer

+ | id | username | password | | 22 | foo | foo | | 23 | bar | bar | | 24 | world | world ||||$user-\>id = $data\['id'\]; $user-\>verify = $data\["+"\]; R::store($user); }

Source