force overwriting existing document