add configuration to layers