Updating circular linked list