Updating the session.connection.aai variable for data transfer