update local directories