Upgrade rails and json
Update gems