diff --git a/src/InternshipSystem.Api/Controllers/DocumentsController.cs b/src/InternshipSystem.Api/Controllers/DocumentsController.cs
index f680c0f..7b7b715 100644
--- a/src/InternshipSystem.Api/Controllers/DocumentsController.cs
+++ b/src/InternshipSystem.Api/Controllers/DocumentsController.cs
@@ -101,14 +101,13 @@ namespace InternshipSystem.Api.Controllers
 
             var document = internship.Documentation.First(d => d.Id == documentId);
 
-            document.Scan = new DocumentScan
-            {
-                File = memoryStream.ToArray(),
-                Size = memoryStream.Length,
-                Filename = documentScan.FileName,
-                Mime = _fileValidator.GetFileMime(memoryStream.ToArray())
-            };
-            
+            document.Scan ??= new DocumentScan();
+
+            document.Scan.Size = memoryStream.Length;
+            document.Scan.Filename = documentScan.FileName;
+            document.Scan.Mime = _fileValidator.GetFileMime(memoryStream.ToArray());
+            document.Scan.File = memoryStream.ToArray();
+
             document.State = DocumentState.Submitted;
             
             await _context.SaveChangesAsync(cancellationToken);