Edit the subdirectory on upload attachment