Update to rails 5.1.6