updated tech design doc