changes ids of boxes