Updating the order in teh calender pages.