[#28348] Don't hard code IDs for update SQL menu items. Fix #1722