Should have been returning doc ID. Should fix trouble with uploads