fix put to allow multiple document update