While upgrading two of my ESXi hosts today I found this really helpful howto video on the VMware KB website. It shows you a step by step walkthrough of how to upgrade your ESXi 4.1 host to ESXi 5.0. There is a lot more information on different ways to upgrade to ESXi 5.0 in this VMware KB.