move master to new DB scheme