Accept Collections also as parameters for updates
make runUpdate return long instead of int