Added handle position update to update function