SQL function not working. No errors showing up

UPDATE 
notes
 SET 'title' = '{$title}', 'body' = '{$body}'
WHERE id = {$_SESSION['id']}

What I want to achieve - I want to update a row with the text user entered