Update friendships.js