delete rows for docs before updateing

This is to cater for cases where data is deleted / removed. An example would be a pillow that outputs one row for each form that was filled out against each case. If one of the forms was archived then the row for that form would remain.