Fix dependencies upgrading.