I want to know what is the right approach if I have to update multiple collections in a function. For example I have 4 collections namely File, Image, Request and Sequence.