db changes for webapplication