updates repository structure