Decrease index value in order to sync json id