Implement batch put