Replace deprecated methods in db:seeds file.