updating ordered lists