Avoid random file-sharing sites. Only use official or trusted sources:

To ensure a successful update, always use a . Updating via Wi-Fi is highly discouraged as signal drops can corrupt the firmware. How do I update my device's firmware manually? | D-Link