changed db scheme