make JSON db delete old staged rows