update for externs