Fix could not update menu bug