Add support for update scripts

Relates #196