update refreshes the catalogs but doesn't actually install anything. upgrade installs upgrades to your installed packages and should usually be safe. dist-upgrade does a distribution upgrade and is probably unsafe if you don't know what you are doing.