Update database info stats when the user trashes a file or changes the rating