update editor script