update list render with a little more efficient code