update dependencies and widen rails version