update hand position