updated friendship model