replacing layers panel content