fix issue with redundant menu creation on update