update rails casts with 371