Update rankfriends.py