Changed updatependingorder