Update UploadsRepository.php