Hi,
take a look at http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html
on that site you can find the vSphere Upgrade Guide which is more than enough documentation
To upgrade the vCenter first and then host is the only way to upgrade, since the vCenter 5.0 can't handle 5.1 hosts.
Regards