finished coding the update mechanisms for structured sparse signals