modify layouts and config