update sql stmt and html table to show fields I want to see on detail page