updating rails. still need to switch a few things to the rails 4.1 way