updated pat code