update variables so echo works