upgrade rails version and gems