updated dependencies to support rails 4