Update code for RedSOCIALSTREAM base on redCODE