modified triggers and procedures to update voided fields in flat_tables to null when observations are voided