edit styles with history