add flowHash to device registry only after flow is successfully written to DS