To update your FreeBSD ports tree and security patches to the latest available in your release use the following commands.
# freebsd-update fetch install
# portsnap fetch
# portsnap extract
# portsnap update
Your ports tree and security patches are now updated.