implement update
add another test for update with a where clause