update dependencies for rails 4