update temp ext variable