update db queries to limit by term_start_date