updates ad layout