Updates and specifies dependencies.