database modification & new entity class