Update Insert Queries

Updated column names to make them all unique and fixed some errors.