got inserts/updates working