updates numItems and numFriends at strategic times. ;)