OS X application shortcut folder in dock and icon updates after installation
If you want to avoid the Login/Logout, restarting the dock should be enough: killall Dock from the Terminal should be enough.