update visible elements