Fixed a bug where updating menu would not work