update title and content