Modernise use of find and update_all in database migrations