Updating style of encounter table