added functions to update the vertical lists with the corresponding elements in the horizontal lists

15 min, Oskar,Erik&Adil