update externs & preamble in dev and release builds