update styles and add redirect