Add upgrade command

This fixes #8.