udpate css
add info to window and update style