updated management function setuplayout