updating editor layout