sets up the SQL to filter everything to do with filter string input
saves new text to the updates table properly
edits changes to update merge without an error
sorts out conflict when merging with the master