added updateMany function to mysql class