Updating panel menu works initially. Code for updating with changing title name is buggy.