Simplified update_dependencies