UPDATE: Added Vineet's updateMember method.
UPDATE: Refactored community member code
UPDATE: Refactored community member code
UPDATE: Refactored code
Merge pull request #723 from benjamij/CM-refactored-step-1

Cm refactored step 1