first failed attempt at updating the ui