added a transaction for associating lots with permits and vice versa