Update the directory structure + DB