changes in friendship functionality