UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x37996606f7ed45eda6c93790d2a8fc68,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 0,`key` = 'klesia',`value_resource_id` = NULL,`value_resource_ref_id` = 0xb9b8a5b15076422eb612ef9bd60eead9,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x37996606f7ed45eda6c93790d2a8fc68 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x8aa88285275745b7b93615ff6b8568cc,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 1,`key` = 'malakoff',`value_resource_id` = NULL,`value_resource_ref_id` = 0xa8dd6564f4294e63902a9db199ca8a23,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x8aa88285275745b7b93615ff6b8568cc AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x659028dbfbb249289eafc29ca2ee8f24,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 2,`key` = 'ag2r-la-mondiale',`value_resource_id` = NULL,`value_resource_ref_id` = 0xcb4cfc74d148479fbb1208756233dcf1,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x659028dbfbb249289eafc29ca2ee8f24 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x45e2017559a4415b8e1ecfa70409b275,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 3,`key` = 'incp',`value_resource_id` = NULL,`value_resource_ref_id` = 0xb5b0fdf81ff14257a98a4917e29aeb29,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x45e2017559a4415b8e1ecfa70409b275 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0xd82ac2f5aa704d2ca3cfe7e95fb1fd13,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 4,`key` = 'adeis',`value_resource_id` = NULL,`value_resource_ref_id` = 0x39cf50289afb4feeb57535739dd6bc2a,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0xd82ac2f5aa704d2ca3cfe7e95fb1fd13 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0xd2e390a83eee4a1c9799659fe5f82fe8,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 5,`key` = 'macif',`value_resource_id` = NULL,`value_resource_ref_id` = 0x1c8a196d528f4b4a8e998d9d05952ce1,`value_list_id` = NULL,`deleted` = NULL WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0xd2e390a83eee4a1c9799659fe5f82fe8 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x3707f0afbaeb44619f3e600f823b4991,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 6,`key` = 'diagoris',`value_resource_id` = NULL,`value_resource_ref_id` = 0xd09bf962953a4bd5a7eefa4f7553a1fe,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x3707f0afbaeb44619f3e600f823b4991 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0xcf272b28f3b245a0b88073385bca9d0a,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 7,`key` = 'humanis',`value_resource_id` = NULL,`value_resource_ref_id` = 0x33da4817794a407cad26bc6f7a389682,`value_list_id` = NULL,`deleted` = NULL WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0xcf272b28f3b245a0b88073385bca9d0a AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0xe2bbca9f210c48039e89f3513f5b37a7,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 8,`key` = 'syncea',`value_resource_id` = NULL,`value_resource_ref_id` = 0x0f142f5eceb544ccbd9ede2349497f56,`value_list_id` = NULL,`deleted` = NULL WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0xe2bbca9f210c48039e89f3513f5b37a7 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x0672bccf014f4f3ab8b88c62c1e4c08f,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 9,`key` = 'istya-collectives',`value_resource_id` = NULL,`value_resource_ref_id` = 0xbc96a461d3b64c36aa861d70c3149606,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x0672bccf014f4f3ab8b88c62c1e4c08f AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0xfa5b2b4db2e145e689f5e5c921c31d18,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 10,`key` = 'legrand',`value_resource_id` = NULL,`value_resource_ref_id` = 0x9199fa32b66142bdb772a27d66705e5b,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0xfa5b2b4db2e145e689f5e5c921c31d18 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x1f8ca51eb75e40ffb23878de2794c1c2,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 11,`key` = 'mutex',`value_resource_id` = NULL,`value_resource_ref_id` = 0x07334d9e85504b9d84baa11a5f2cea0e,`value_list_id` = NULL,`deleted` = 0 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x1f8ca51eb75e40ffb23878de2794c1c2 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x599bbdf1f3194952a1dd98152d7b1444,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 12,`key` = 'ocirp',`value_resource_id` = NULL,`value_resource_ref_id` = 0xee84a02995fb45259151087c12219e4a,`value_list_id` = NULL,`deleted` = 1 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x599bbdf1f3194952a1dd98152d7b1444 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x5f99333e372648cba6cbb8d67f66f9ad,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 13,`key` = 'technologia',`value_resource_id` = NULL,`value_resource_ref_id` = 0xef41e4ca00e04992b6c20fdb260c40a1,`value_list_id` = NULL,`deleted` = 1 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x5f99333e372648cba6cbb8d67f66f9ad AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x707ffbb67514406c90b95d2f5c0d9842,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 14,`key` = 'umanens',`value_resource_id` = NULL,`value_resource_ref_id` = 0x4bcf4823ad0c404cb8157a3965d433ac,`value_list_id` = NULL,`deleted` = 1 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x707ffbb67514406c90b95d2f5c0d9842 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x4f787bc27d244b48a6f04b459bdb1f45,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 15,`key` = 'cheque-dejeuner',`value_resource_id` = NULL,`value_resource_ref_id` = 0xfaec85c013e542b4b9b144d38dbb0325,`value_list_id` = NULL,`deleted` = 1 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x4f787bc27d244b48a6f04b459bdb1f45 AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x64c94dfad80e4cd6bc951f0dd5c7ec4c,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 16,`key` = 'fred-dumur',`value_resource_id` = NULL,`value_resource_ref_id` = 0xc324759731ad44ddaf7a30cfa89822b9,`value_list_id` = NULL,`deleted` = 1 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x64c94dfad80e4cd6bc951f0dd5c7ec4c AS BINARY);
UPDATE `CONTENT_LIST_ITEM_V2` SET `id` = 0x0efad608497240b18a42edb5aa572361,`list_id` = 0xc56d543af56d4d88aab845b3b3d4ff42,`idx` = 17,`key` = 'xavier',`value_resource_id` = NULL,`value_resource_ref_id` = 0x296077f4be4f45009e7353603731cecc,`value_list_id` = NULL,`deleted` = 1 WHERE `CONTENT_LIST_ITEM_V2`.`id` = CAST(0x0efad608497240b18a42edb5aa572361 AS BINARY);

SELECT * FROM `CONTENT_LIST_ITEM_V2` where list_id=0xc56d543af56d4d88aab845b3b3d4ff42 order by idx

UPDATE `CONTENT_LIST_ITEM_V2` set idx=(idx - 1) MOD 1000 where list_id=0xc56d543af56d4d88aab845b3b3d4ff42 