Added new fields to update and changed one query to match folders table, not server table.