Added dynamic udpating for the exisitng graphs menu