updated database
added friends to the user