Update HTML snippet