Updates to add/save related notes back to SQL tables.