Upgrade script for database
Merge remote-tracking branch 'origin/master'