group UPDATE statements together to reduce load on db slaves. (bug 835572)