some db changes to get the stuff working