Update git repo & add database upgrade script