update version to rails 4