update hash and ll