Modifies `update` method to update all matching records

Previously would limit itself to one.