updated main view and added TableRow subview