Fixed the problem where multiple updates weren't happening for multiple rows