added method to put multiple documents at once