updating the front end with styles and some functionality