The message about needing to update is printed to stderr. This is done so that if you capture stdout only, it will not interfere with scraping the output.
Alternatively, you can permanently disable this message by running
$ gcloud config set --section component_manager disable_update_check true
although then you will need to manually check for updates in the future.