[update] added function for add and deleting friends