relocated db to directory