[#1266] Implemented the insert/update menu hooks