Editing the BP Adminbar

I would like to make a few changes to the BP adminbar – namely at the top right where it says “visit > random meber / group / blog”, I have tried editing lines 249 to 284 in bp-core-adminbar.php, but no matter what I do it has no effect on the adminbar?