$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "phrase SET text = '" . $newtext . "' WHERE varname = '" . $yourphrasename . "' ");