updating singly link