update the text and stuff