edit layout and environment page