UI_update

code is all over the place so i don't remember exactly what i've wrote