Edit environment