update rails to v4.0