update preamble