change directory database