update title and name