update editor style