updating envelope behavior