Modify dependencies properly