updated table style for the view and added header