Updated Search Table to take rows