updates styles and such