changing dir of db-lib