update hideFunctions in Social with active flag