hg checkout and hg update are aliases for each other, so can be used interchangeably. From the help for hg update:
hg update [-c] [-C] [-d DATE] [[-r] REV]
aliases: up, checkout, co
update working directory (or switch revisions)
-C or --clean option is used to throw away uncommitted changes when switching.