Updates editor script