Managing the update process for a large number of sites

I just posted this topic, maybe it will help: Shell script for updating production sites