Cleaned up white-space added ds->updaterows(...) for readability.