directories saved to DB