modify dependencies in formula files