The DB is now updated when a new file is shared or unshared by a client