Convert update.tcl to a bash script to remove tcl as a dependency to update external repositories.