update custom layout