$db->do_update('users')
->set("gender=?")
->where('id=?');
->setData(['MALE', $userid])
$db->query('update users set firstname = ?, lastname = ? where username = ?', ['Felix','Russel','Brown']);
where() should only be chained once on the do_update() operator in the predefined order.
$db->query('update users set firstname = ? where username = ?',['Felix','Rolland'])->insert();
insert() method