update partials and styles