Automatically update thumbnail