install extensions at a specific index and updated dependencies