updates order of new entities