change parent change menu according parent