Make sure to update database when adding/removing friends