Update directory and content.