update rails to 4.0.3 and other gems