Create an update handler for multiple records in the database