Added UpdateMenu method