added editing for content directory