updating dependencies esp rails to rails 4.1