update variable name in some tasks