Remove unneeded dependencies. Update all dependencies