Here's a guide on doing it: http://www.techradar.com/how-to/computing/apple/how-to-upgrade-your-time-capsules-hard-drive-1305620
open