update .hex and DSN