Created methods to update panel and toolbar

Moved update commands to methods in each class