updating the horizontal form