added fn updateHand