creates results table, updates table associations