each loop example, update dependencies