in that case, you will need to find a way to divide up the load and keep track of which records have been updated and which have not. i can think of two ways to do this:
1) add a field to friend which indicates that a friend record has been updated today. perhaps a field called 'last_updated' that contains a date. your query would need to be adjusted to fetch friend records WHERE last_updated != the current date.
2) come up with some scheme to define a different range for the LIMIT clause each time the update script runs.
Why are you unot updating the friend_count table when new friends are added? that would make a lot more sense.