Add alters and upgrade version of db