added some db changes