You can create a file on SharePoint using a dynamic url/library, but you can't update the properties using a dynamic function.
For example if you need to create a file in different SharePoint libraries depending on the content, you need to create a switch with x (the number of libraries) update file properties functions.