updates detail styles