Converted all getVars to string for easier use in various places
Added getSQLUpdate to transactions