update variable text