update title and body on click