update editor layout