edit config and layout