Update vertical direction