updated vertical write