protected function UpdateFeed($FeedKey, $FeedOptionKey, $FeedOptionValue = NULL)
{
$Feed = $this->GetFeed($FeedKey);
if (!is_array($FeedOptionKey)) {
$FeedOptionKey = array($FeedOptionKey => $FeedOptionValue);
}
$Feed = array_merge($Feed, $FeedOptionKey);
$EncodedFeed = json_encode($Feed);
$this->SetUserMeta(0, "Feed.{$FeedKey}", $EncodedFeed);
// regenerate the internal feed list
$this->GetFeeds(TRUE, TRUE);
}