adding directory database