S&P 500 edges up after mixed jobs data