added update button which takes tool from text area and adds to tool ui.