adds terminal and updates sections