added directory entry to database