update resources directory.