update word ladder ii