change layout dictionary