Walmart is getting better at playing Amazon’s game