wpSetTitle is prefered for setting an object's title unless you want to override the confirmations; for example, if you want to rename a file and change its title without prompting the user.