added method to update membership